/**
 * User: alesj
 * Date: 10.1.2006
 * Time: 17:58:52
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.blueberry.sar.smpp.impl;

import com.alesj.blueberry.sar.exchange.SMPPServiceHolder;
import com.alesj.blueberry.sar.smpp.SMPPService;
import org.jboss.system.ServiceMBean;

/**
 * Simple JMX interface.
 *
 * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
 */
public interface SMPPServiceImplMBean extends ServiceMBean, SMPPService {

    String getHost();
    void setHost(String host);
    int getPort();
    void setPort(int port);
    boolean isAsynchronous();
    void setAsynchronous(boolean asynchronous);
    Integer getVersion();
    void setVersion(Integer version);
    String getSystemId();
    void setSystemId(String systemId);
    String getPassword();
    void setPassword(String password);
    String getSystemType();
    void setSystemType(String systemType);
    int getReconnectTries();
    void setReconnectTries(int reconnectTries);
    long getReconnectSleep();
    void setReconnectSleep(long reconnectSleep);
    long getUnboundTimeout();
    void setUnboundTimeout(long unboundTimeout);

    // service methods

    SMPPServiceHolder getObserver();
    void setObserver(SMPPServiceHolder observer);

}
